#ifndef __WIFI_H__
#define __WIFI_H__



void wifi_init(uint8_t wifi_sw);


void start_wifi();
void stop_wifi();
void restart_wifi_now();
void update_wifi_info();
int scan_wifi_info(char* result,int len);
int get_net_delay();
void ping_test(char* url);
void set_static_ip_and_dns();
void update_wifi_info_sync();
void deinit_wifi();
uint8_t getWifiConnectedIndex(void);
#endif //__WIFI_H__
